/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.fi.pa165.portalnahouby.api.dto;

import java.util.Date;

/**
 *
 * @author Lukas Marica
 */
public class VisitDTO {

	private Long id;
	private Date visitDate;
	private String description;
	private ForestDTO forest;
	private PickerDTO picker;
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Date getVisitDate() {
		return visitDate;
	}

	public void setVisitDate(Date visitDate) {
		this.visitDate = visitDate;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public ForestDTO getForest() {
		return forest;
	}

	public void setForest(ForestDTO forest) {
		this.forest = forest;
	}

	public PickerDTO getPicker() {
		return picker;
	}

	public void setPicker(PickerDTO picker) {
		this.picker = picker;
	}

	@Override
	public int hashCode() {
		int hash = 5;
		return hash;
	}

	@Override
	public boolean equals(Object obj) {
		if (obj == null) {
			return false;
		}
		if (getClass() != obj.getClass()) {
			return false;
		}
		final VisitDTO other = (VisitDTO) obj;
		if (this.id == null || !this.id.equals(other.id)) {
			return false;
		}
		return true;
	}
	
	
}
